<HTML><HEAD><TITLE>occurrences(++Value, +Vars, ?N)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(fd_global)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>occurrences(++Value, +Vars, ?N)</H1>
The value Value occurs in Vars N times
<DL>
<DT><EM>Value</EM></DT>
<DD>Atomic term
</DD>
<DT><EM>Vars</EM></DT>
<DD>Collection (a la collection_to_list/2) of atomic terms or domain variables
</DD>
<DT><EM>N</EM></DT>
<DD>Variable or integer
</DD>
</DL>
<H2>Description</H2>
    	  The value Value occurs in Vars N times.  Operationally:  N
	  gets updated to reflect the number of possible occurrences in the
	  collection.  Collection elements may get instantiated to Value, or
	  Value may be removed from their domain if required by N.
<H2>See Also</H2>
<A HREF="../../lib/ic_symbolic/element-3.html">ic_symbolic : element / 3</A>, <A HREF="../../lib/fd/element-3.html">fd : element / 3</A>, <A HREF="../../lib/ic_global/element-3.html">ic_global : element / 3</A>, <A HREF="../../lib/ic/element-3.html">ic : element / 3</A>, <A HREF="../../lib/fd_global/atmost-3.html">atmost / 3</A>, <A HREF="../../lib/lists/collection_to_list-2.html">lists : collection_to_list / 2</A>
</BODY></HTML>
